package com.jielin.handling.service.police.impl;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.pagehelper.PageHelper;
import com.jielin.handling.entity.police.Cases;
import com.jielin.handling.entity.tsuspect.TSuspec;
import com.jielin.handling.mapper.police.PoliceCaseMapper;
import com.jielin.handling.mapper.tsuspect.TSuspecMapper;
import com.jielin.handling.util.HttpClientForJL;
import com.jielin.handling.util.StringUtil;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.jielin.handling.entity.police.PoliceMan;
import com.jielin.handling.mapper.police.PoliceManMapper;
import com.jielin.handling.service.police.PoliceCaseService;
import com.jielin.handling.service.police.PoliceManService;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Slf4j
public class PoliceCaseServiceImpl implements PoliceCaseService {

	@Autowired
	PoliceCaseMapper policeCaseMapper;

	@Override
	public String findAlertCodeByCaseCode(String caseCode) {
		if(StringUtil.isEmpty(caseCode)) {
			log.info("没有传入案件编号");
			return "";
		}
		return policeCaseMapper.findAlertCodeByCaseCode(caseCode);
	}


}
